GtkFontChooserWidget: Listen for fontconfig changes
authorMatthias Clasen <mclasen@redhat.com>
Wed, 6 May 2015 04:52:23 +0000 (00:52 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 6 May 2015 04:52:23 +0000 (00:52 -0400)
commit07f4c9c31505f25d1bc5e436a0dd260138171646
treeadf5af45e2c0d5fbcffd357278c581d24aa4a924
parent487332c458b8e6d24f00afbdf05c2ae2f615af74
GtkFontChooserWidget: Listen for fontconfig changes

We were relying on indirectly getting notify when fontconfig
configuration changes, by GtkSettings translating the timestamp
change into a style-invalidation, which gets fed through the
css invalidation machinery. That machinery has gotten good enough
at optimizing away redundant changes that it no longer emits
::style-updated in this case.

So, instead make the font chooser listen directly to what it
cares about: the fontconfig change notification from GtkSettings.
gtk/gtkfontchooserwidget.c